import request from "../../utils/request";

/**
 * 供应商登录
 * @param {*} obj
 * @returns
 */
export const login = (obj) => {
    return request({
        url: "api/WeChat/Supplier_Login_Pass",
        method: "post",
        data: obj,
    });
};

/**
 * 检查供应商登录
 * @param {*} obj 
 * @returns 
 */
export const check = (obj) => {
    return request({
        url: "api/WeChat/Supplier_CheckLogin_ByPass",
        method: "get",
        params: obj,
    });
};